package edu.sctu.fengleilin.month05.day150527;

import java.util.Random;

/**
 * Created by user09 on 2015/5/27.
 */
public class Seat {
    private int seatNumber;

    public int getSeatnumber() {
        return seatNumber;
    }

    public void setSeatnumber(int seatnumber) {
        this.seatNumber = seatnumber;
    }
    public int input(){
        Random random = new Random();
        int seatnumber = random.nextInt(300);
        System.out.println("您选择的座位号是："+seatnumber);
    return seatnumber;
    }
}
